<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lz4</Name>
        <Homepage>https://lz4.github.io/lz4/</Homepage>
        <Packager>
            <Name>Safa Arıman</Name>
            <Email>safaariman@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Extremely fast compression algorithm</Summary>
        <Description>LZ4 is an extremely fast loss-less compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-core CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.</Description>
        <Archive sha1sum="5a19554ef404a609123b756ddcbbb677df838f05" type="targz">https://github.com/lz4/lz4/archive/v1.9.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>make</Dependency>
            <Dependency>glibc-devel</Dependency>
            <Dependency>diffutils</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">8301a21.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>lz4</Name>
        <RuntimeDependencies>
            <Dependency>glibc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/liblz4*</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>lz4-devel</Name>
        <Summary>Development files for lz4</Summary>
        <RuntimeDependencies>
            <Dependency release="current">lz4</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2021-09-28</Date>
            <Version>1.9.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2020-12-09</Date>
            <Version>1.9.2</Version>
            <Comment>Rebuild</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2020-03-19</Date>
            <Version>1.9.2</Version>
            <Comment>First release</Comment>
            <Name>Safa Arıman</Name>
            <Email>safaariman@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
